package io.xmu.dataanalysis.service;

import org.springframework.stereotype.Service;

/**
 * Created by Jim Chen at XMU on 2017/5/8.
 */
@Service
public class LoginService {

    public boolean check(String account,String password){
        if(account.endsWith("张三")&&password.equals("123456")){
            return true;
        }

        return false;
    }

    public String getCountId(String account){
        return "000000";
    }

}
